package model;

import java.util.Date;

/**
 * JsfEquipment entity. @author MyEclipse Persistence Tools
 */

public class JsfEquipment implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Integer price;
	private Date buyTime;
	private String detail;

	// Constructors

	/** default constructor */
	public JsfEquipment() {
	}

	/** full constructor */
	public JsfEquipment(String name, Integer price, Date buyTime, String detail) {
		this.name = name;
		this.price = price;
		this.buyTime = buyTime;
		this.detail = detail;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getPrice() {
		return this.price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public Date getBuyTime() {
		return this.buyTime;
	}

	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}

	public String getDetail() {
		return this.detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

}